<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body><table id="top_location_line" width="100%"><table id="top_location_line" width="100%"><tr width="100%"><td><a href="http://www.urchin.com"><img border="0" src="../images/google_sm.gif" width="135" height="41"></a></td><td width="100%"><span id="top_line" style="width: 100%; float: left; clear: both; border-bottom: 1px solid #CCC;"><span id="top_title" style="float: left; margin-top: 10px;"><b>Help Center</b></span></td></tr></table>
<div id="page" lang="en" dir="ltr">
<div dir="ltr" id="content" lang="en">
<p class="line867"><strong>My site has only one URL because I am using Flash. How do I set up a goal funnel?</strong> <p class="line862">You can track any browser based event, including Flash events, on your website. By using the urchinTracker JavaScript function, you can assign a page filename to any Flash action, and enter that filename into the appropriate goal or funnel step. <p class="line862">To track an event, call the urchinTracker() JavaScript function with an argument specifying a name for the event. For example, calling: <p class="line867"><pre>    javascript:urchinTracker('/purchase_funnel/page1.html');
</pre><p class="line874">will cause each occurrence of the the calling Flash event to be logged as though it were a pageview under the name /purchase_funnel/page1.html. The argument must begin with a forward slash. <p class="line874">The event names may be organized into any directory style structure you wish. The path/filename argument to urchinTracker need not represent an actual URL on your website. <p class="line867"><strong>Flash Code Examples</strong> <p class="line867"><pre>    on (release) {
    // Track with no action
    getURL("javascript:urchinTracker('/folder/file.html');");
    }
    on (release) {
    //Track with action
    getURL("javascript:urchinTracker('/folder/file.html');");
    _root.gotoAndPlay(3);
    myVar = "Flash Track Test"
    }
    onClipEvent (enterFrame) {
    getURL("javascript:urchinTracker('/folder/file.html');");
    }
</pre></div><div id="pagebottom"></div>
</div>


<div id="footer" style="clear: both; margin: 0; padding: 0; border-bottom:1px solid #CCC;"></div><div id="copyright" style="font-size: 70%; text-align: center;">&copy;2010 Google</div>
</body></html>